package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.SiyuShareCode;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface SiyuShareCodeMapper {

    List<SiyuShareCode> selectSiyuShareCodesByUserId(Long userId);

    Long selectUserIdByShareCode(String shareCode);

    int insertSiyuShareCode(SiyuShareCode siyuShareCode);

    int updateSiyuShareCode(Integer id);

}
